package ashok.corejava.collections;

import java.util.Comparator;

public class CollectionsSortExampleOne {
	public static void main(String []args){

	
	}
}


class MyCustomElements implements Comparator<MyCustomElements>{
	
	private String name;
	private int ssn;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSsn() {
		return ssn;
	}
	public void setSsn(int ssn) {
		this.ssn = ssn;
	}
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	private Address address;
	@Override
	public int compare(MyCustomElements o1, MyCustomElements o2) {
		return 0;
	}
	
}

class Address implements Comparable<Address> {
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getZip() {
		return zip;
	}
	public void setZip(String zip) {
		this.zip = zip;
	}
	private String street;
	private String city;
	private String country;
	private String zip;
	@Override
	public int compareTo(Address o) {
		return 0;
	}
	
	
	
}